//
//  SelectCardTabFooterView.m
//  YTwallet
//
//  Created by ZhangLin on 2019/4/23.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "SelectCardTabFooterView.h"
#import <Masonry.h>

@implementation SelectCardTabFooterView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setupViews];
    }
    return self;
}

-(void)setupViews{
    
    self.addBankCardImv = [[UIImageView alloc] init];
    self.addBankCardImv.image = [UIImage imageNamed:@"card_icon_add"];
    [self addSubview:self.addBankCardImv];
    [self.addBankCardImv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(15);
        make.width.mas_equalTo(20);
        make.centerY.equalTo(self);
        make.height.mas_equalTo(20);
    }];
    
    self.addBankCardLab = [[UILabel alloc] init];
    self.addBankCardLab.text = @"添加银行卡";
    self.addBankCardLab.font = [UIFont systemFontOfSize:14];
    self.addBankCardLab.textColor = ETColorWithRGB(51, 51, 51);
    [self addSubview:self.addBankCardLab];
    [self.addBankCardLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.addBankCardImv.mas_right).offset(20);
        make.centerY.equalTo(self);
    }];
    
    
}

@end
